subfile Subfile Subfile in which to select all subrecords
ALL SUBRECORDS makes all the subrecords of subfile the current subselection.
If a current parent record does not exist, ALL SUBRECORDS has no effect. When a parent record is first loaded, the subselection contains all subrecords. A subselection may not contain all subrecords after ADD SUBRECORD, SEARCH SUBRECORDS, or DELETE SUBRECORD is executed.
The following example selects all subrecords to be sure they are included in the sum: